package bean;

import java.util.ArrayList;

public class Record_Bean {
//    String  [][] tableRecord=null;
    ArrayList<String> hotelName=new ArrayList<>();
    ArrayList<String> hotelAddress=new ArrayList<>();
    ArrayList<String> hotelID=new ArrayList<>();
    int pageSize=10;
    int totalPages=1;
    int currentPage=1;
    int totalRecords;

    public void setHotelID(ArrayList<String> hotelID) {
        this.hotelID = hotelID;
    }

    public ArrayList<String> getHotelID() {
        return hotelID;
    }

    public void setHotelName(ArrayList<String> strings){
        hotelName=strings;
    }
    public ArrayList<String>getHotelName(){
        return hotelName;
    }
    public void setHotelAddress(ArrayList<String> strings){
        hotelAddress=strings;
    }

    public ArrayList<String> getHotelAddress() {
        return hotelAddress;
    }

//    public void setTableRecord (String[][] s){
//        tableRecord=s;
//    }
//    public String[][]getTableRecord(){
//        return tableRecord;
//    }
    public void setPageSize(int size){
        pageSize=size;
    }
    public int getPageSize(){
        return pageSize;
    }
    public  int getTotalPages(){
        return totalPages;
    }
    public void setTotalPages(int n){
        totalPages=n;
    }
    public void setCurrentPage(int n){
        currentPage=n;
    }
    public int getCurrentPage(){
        return currentPage;
    }
    public int getTotalRecords(){
        totalPages=hotelName.size();
        return totalRecords;
    }

}
